﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/LOSSite.Master" Inherits="System.Web.Mvc.ViewPage<DataAccessLayer.Models.FixedDeposit>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content" runat="server">
    <h2>
        Please Select Security Detail</h2>
    <table>
        <tr>
            <td>
                <%= Html.ActionLink("Personal Gurantee", "Create", "PersonalGuarantee")%>
            </td>
        </tr>
        <tr>
            <td>
                <%= Html.ActionLink("Fixed Deposit", "Create", "FixedDeposit")%>
            </td>
        </tr>
    </table>
    <p>
    </p>
    <h2>Create Fixed Deposit</h2>
    <p>
        Fixed Deposit Details
    </p>
    <% Html.EnableClientValidation(); %>
    <%= Html.ValidationSummary("Create was unsuccessful. Please correct the errors and try again.") %>
    <% using (Html.BeginForm())
       {%>
    <div class="Editor-Main">
        <div class="Editor-Content">
            <%: Html.LabelFor(model => model.Amount) %>
        </div>
        <div class="Editor-Content">
            <%: Html.TextBoxFor(model => model.Amount) %>&nbsp;<%: Html.ValidationMessageFor(model => model.Amount) %>
        </div>
        <p>
            <input type="submit" value="Create" />
        </p>
    </div>
    <% } %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Greeting" runat="server">
    <% Html.RenderPartial("Greeting", Session["LoggedUser"]); %>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MenuList" runat="server">
    <% Html.RenderPartial("MenuList", Session["LoggedUser"]); %>
</asp:Content>